home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
0132.ZIP
/
M192.C
< prev
next >
Wrap
Text File
|
1984-12-24
|
384b
|
16 lines
/* sets baud rate to 19200 */
/* it works -- george lehtola */
/* at least with lattice c compiler */
#define lcr_port 0x3fb
#define dll 0x3f8
#define dlm 0x3f9
main() {
outp(lcr_port,inp(lcr_port) | 0x80 );
outp(dll,6);
outp(dlm,0);
outp(lcr_port,inp(lcr_port) & 0x7f);
}